package cn.laowen.org.service;



import cn.laowen.basic.util.PageList;
import cn.laowen.org.domain.Dictionary;
import cn.laowen.org.query.DictionaryEditQuery;

import java.util.List;

public interface IDictionaryEditService {
    //查询全表
    List<Dictionary> queryAll();

    //查询一条
    Dictionary queryById(Long id);

    //新增
    void save(Dictionary dictionary);
    //修改
    void update(Dictionary dictionary);
    //删除一条
    void removeById(Long id);

    //分页 + 高级查询
    PageList<Dictionary> queryPage(DictionaryEditQuery dictionaryEditQuery);

    //批量删除
    void batchRemove(List<Long> ids);
    
    
}
